package com.geeguo.ebuilder.client.business.system.permission.service;

import com.geeguo.ebuilder.client.base.security.model.LoginUser;
import com.geeguo.ebuilder.client.base.tenant.model.DataContext;
import com.geeguo.ebuilder.client.business.system.permission.model.WebMenuVO;

import java.util.List;
import java.util.Set;

public interface PermissionService {


	Set<String> listRoleCodeByUser(LoginUser loginUser, DataContext dataContext);

	Set<String> listPermissionCodeByUser(LoginUser loginUser, DataContext dataContext);

	List<WebMenuVO> listWebMenuByUser(LoginUser loginUser, DataContext dataContext);

	void removeCachedUserWebModules(LoginUser loginUser, DataContext dataContext);
}